var rechargeOrder = {
    getUrl: function(payType, id, type) {
        return G.apiurl + 'pay/' + payType + '/rechargeOrder/' + type + '/' + id;
    },
    getStatus: function(orderId, type, data, success, error) {
        G.get('pay/' + type + '/rechargeOrder/status/' + orderId, data, success, error);
    },
    createOrder: function(payment, type, id, success, error, headers){
    	G.get('pay/'+ payment +'/rechargeOrder/' + type + '/' + id, {} ,success, error, headers)
    }
}